﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace Wpf_ClientLourd
{
    /// <summary>
    /// Logique d'interaction pour ImpressionBP.xaml
    /// </summary>
    public partial class ImpressionBP : Window
    {
        public ImpressionBP(string filename)
        {
            InitializeComponent();

            //Ouverture du pdf
            var uc = new UserControl1(filename);
            this.windowsFormsHost1.Child = uc;
        }
    }
}
